@import "../../variable.less";
.ant-popover-inner-content {
  padding: 0 !important;
}
.@{prefix}{
  &-color-picker {
    display: inline-flex;
    height: 32px;
    min-height: 28px;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    cursor: pointer;
    &:hover {
      opacity: 0.85;
    }
    &-inner {
      height: 100%;
      padding: 6px;
      display: flex;
      align-items: center;
    }
    &-content {
      height: 100%;
      display: flex;
      align-items: center;
    }
    &-box {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%);
      background-size: 10px 10px;
      background-position: 0 0 , 5px 0 , 5px -5px , 0 5px;
      border: 1px solid var(--border-radius-base);
      &-value {
        width: 100%;
        height: 100%;
      }
    }
    &-arrow {
      display: flex;
      color: #f2f2f2;
      &-btn {
        font-size: var(--font-size-base);
        margin-left: 6px;
        color: #f2f2f2;
      }
    }
    &-popover-content {
      background-color: #fff;
      padding: 14px;
      border-radius: var(--border-radius-base);
    }
  }
}